package com.gitee.wsl.common.ui.graphics

import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext

@Composable
actual fun getDisplayMetrics(): DisplayMetrics = LocalContext.current.resources.displayMetrics.let {
    DisplayMetrics(it.density, it.xdpi, it.ydpi)
}
